package com.lemon.auth.form;

/**
 * 用户登录对象
 * 
 * @author huangpeng
 */
public class LoginBody
{
    /**
     * 后台用户名，也是后台用户编码
     */
    private String username;

    /**
     * 前台用户编码,及登录名，非用户名，这里后后台字段不一样
     */
    private String userCode;

    /**
     * 用户密码
     */
    private String password;

    /**
     * 用户邮箱地址
     */
    private String email;

    /**
     * 用户电话号码
     */
    private String phone;

    /**
     * 登录方式, 0登录名登录. 1邮箱登录, 2电话号码登录
     */
    private String loginType;

    /**
     * 登陆验证码
     */
    private String captcha;

    public String getUsername()
    {
        return username;
    }

    public void setUsername(String username)
    {
        this.username = username;
    }

    public String getPassword()
    {
        return password;
    }

    public void setPassword(String password)
    {
        this.password = password;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }

    public String getCaptcha() {
        return captcha;
    }

    public void setCaptcha(String captcha) {
        this.captcha = captcha;
    }
}
